﻿using System;
using System.Collections.Generic;
using System.Web;

using OctoOS;
using OctoOS.UI;

public partial class samples_messageBox : OOSPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
		 AddBreadcrumb("", Urls.GetHome());
		 AddBreadcrumb("Samples", Urls.Samples.GetHome());

		 alert.SetContent("Alert message panel with a link button.");
		 alert.AddLinkButton("Samples Home", Urls.Samples.GetHome());

		 delete.SetContent("Delete message panel with two link buttons.");
		 delete.AddLinkButton("Yes", "#");
		 delete.AddLinkButton("No", "#");

		 error.SetContent("Error message panel with a lo-ooo-oooooo-ooooo-oooooooooo-ooooo-oooooooooo-ooooo-oooo-oooooooo-ng message. \r\n One more text line in the message.");

		 info.SetContent("Info message panel with a submit button.");
		 info.AddSubmit("btn", "OK");

		 question.SetContent("Question message panel with two submit buttons.");
		 question.AddSubmit("yesBtn", "Yes");
		 question.AddSubmit("noBtn", "No");
	 }
}